﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Oca35.Tests
{
    [TestClass]
    public class MazeSquareFixture
    {
        [TestMethod]
        public void PlayerBackThreeSquares()
        {
            var board = new Board();
            var mazesquare = board.Squares[10];
            var player = new Player();
        
            mazesquare.ApplyActions(player);
            Assert.AreEqual(board.Squares[7], player.Location);
            Assert.AreEqual(7, player.Location.Index);
        }
    }
}
